package com.liuhouse.vo;

import com.liuhouse.pojo.Role;
import com.liuhouse.pojo.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class UserInfoAndRoleIdsVo {
    //用户对象
    private User user;
    //角色列表
    private List<Role> roles;
    //当前用户已经选中的角色
    private List<Long> roleIds;
}
